package view;

import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.LinkedList;

import data.Card;
import data.Player;
import data.Score;

public interface User extends Remote, Serializable {
	
	public Integer getId() throws RemoteException;
	public String getLogin() throws RemoteException;
	public Integer getPoints() throws RemoteException;
	public Boolean getConnected() throws RemoteException;
	public LinkedList<Card> getHand() throws RemoteException;
	public HashMap<Integer, Score> getScores() throws RemoteException;
	public Player setId(Integer id) throws RemoteException;
	public Player setLogin(String login) throws RemoteException;
	public Player setPoints(Integer points) throws RemoteException;
	public Player setConnected(Boolean connected) throws RemoteException;
	public Player setHand(LinkedList<Card> hand) throws RemoteException;
	public Player setScores(HashMap<Integer, Score> scores) throws RemoteException;
	
}
